<link rel="stylesheet" href="__STATIC__/manage/css/admin/index/login.css?v={$version}" media="all">

<div class="main_body">
    <form class="layui-form login_body">
        <div class="title">
            <h1>账号登录</h1>
        </div>
        <div class="item">
            <span class="username"></span>
            <input type="text" name="username" placeholder="请输入手机号" maxlength="24" lay-verify="required|username">
        </div>
        <div class="item">
            <span class="password"></span>
            <input type="password" name="password" placeholder="请输入密码" maxlength="24" lay-verify="required|password">
        </div>
        <div class="item" style="display: flex;justify-content: space-between;align-items: center;">
            <span class="code"></span>
            <input type="text" name="captcha" placeholder="请输入验证码" maxlength="4" style="width: 192px;" lay-verify="required|captcha">
            <img id="captchaImg" class="captchaImg" src="{:captcha_src()}" onclick="this.src='{:url(\'/captcha\')}?v='+Math.random()">
        </div>
        <button class="login_btn" lay-submit>立即登录</button>
    </form>
</div>